﻿<%@ Page Language="vb" MasterPageFile="~/MainPage.Master" AutoEventWireup="false" CodeBehind="Database.aspx.vb" Inherits="PetsCare.Database" %>


<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
    <p class="newFont" style="background-color:Black; color:White" > ER Diagrams     </p>
   
  <div class="newFont"> 
    
     <p style="color:Green;"> First Relationsip : </P>
    
     <p>        <asp:Image ID="Img_erd1" runat="server" Height="280px" 
             ImageUrl="~/Images/user_petdetails.png" Width="544px" />
     </p>
     
       <p class="newFont"> Here one to many Relationship between Userdetails Table and Petdetails Table Because it may 
      me Possible that one user can have many pets.
       </p>
   </div>
   
 <p style="background-color:Black"> </p>
 
  <div class="newFont">
  
  <p class="style2"> Second Relationsip : </P>
  
    <p>        <asp:Image ID="img_erd2" runat="server" Height="264px" 
            ImageUrl="~/Images/pet_comment.png" Width="544px" />      </p>  
  
    <p> Here one to many Relationship between Petdetails Table and Comment Table Because it may 
      me Possible that one pet can have many comments. </p>
      
      </div>
   
   <p style="background-color:Black"> </p>
   
  <div class="newFont">
  
  <p class="style3"> Third Relationsip : </p>
  
    <p>        <asp:Image ID="img_erd3" runat="server" Height="264px" 
            ImageUrl="~/Images/user_comment.png" Width="544px" />      </p>  
  
    <p> Here one to many Relationship between Userdetails Table and Comment Table 
        Because it may me Possible that one user can do many comments on the one pet.</p>
      
      </div>
      
      
       <p style="background-color:Black"> </p>
   
  <div class="newFont">
  
  <p class="style3"> &nbsp;Relationsips in a single diagram : </p>
  
    <p>        
        <asp:Image ID="img_erd4" runat="server" Height="339px" 
            ImageUrl="~/Images/all_relationship.png" Width="544px" />      </p>  
  
    <p> This diagram shows all relation between these three tables.</p>
      
      </div>
      
</asp:Content>

<asp:Content ID="Content2" runat="server" contentplaceholderid="head">

     <link href="StyleSheet1.css" rel="stylesheet" type="text/css" />
     <style type="text/css">
         .style2
         {
             color: #33CC33;
         }
         .style3
         {
             color: #009900;
         }
     </style>
     </asp:Content>


